package com.sci.feign.impl;

import com.sci.entity.User;
import com.sci.feign.UserServiceClient;
import org.springframework.stereotype.Component;

@Component
public class UserServiceClientFallback implements UserServiceClient {
    @Override
    public User getUserByWechatId(String wechatId) {
        // 返回空用户对象（降级）
        return new User();
    }
}
